package com.taotao.service;

import com.taotao.pojo.ContentCategory;

import java.util.List;

/**
 * describe:
 *
 * @author hong.zheng
 * @date 2018/09/12
 */
public interface ContentCategoryService {

    List<ContentCategory> getContentCategoryList(long parentId);

    ContentCategory selectContentCategory(long id);

    void insertContentCategory(long parentId,String name);

    void updateContentCategory(ContentCategory contentCategory);

    void deleteContentCategory(long id,long parentId);
}
